*Int'l Public Support for Self-Determination Groups 
*Experiment II Do File 
* Created 7/26/19

	
*********experimental groups
*experiment 1=control
*experiment 2=demonstrations 
*experiment 3=blockades
*experiment 4=social non cooperation



***Pariticipants per group
tab experiment


***Ordered Logit Regressions for Attitude DVs 

*Group Opinion DV
ologit group_opinion i.experiment 


*Leader Opinion DV
ologit leader_opinion i.experiment 


***Ordered Logit Regressions for Attitude DVs with controls (Appendix)

*Group Opinion DV
ologit group_opinion i.experiment ideo sex age edu income

*Leader Opinion DV
ologit leader_opinion i.experiment ideo sex age edu income

***Predicted Probabilities for Group Opinion and Leader Opinion
quietly ologit group_opinion i.experiment ideo sex age edu income
margins i.experiment, at (sex=2) atmeans post 

quietly ologit leader_opinion i.experiment ideo sex age edu income
margins i.experiment, at (sex=2) atmeans post

***Marginal effects figures 3 and 4

ologit group_opinion i.experiment ideo sex age edu income
margins, dydx(experiment)
*see effects in Figure 3.dta

ologit leader_opinion i.experiment ideo sex age edu income
margins, dydx(experiment)
*see effects in Figure 4.dta


***chi-squared for demographic variables
*age:
tabulate age experiment, chi2

*gender:
tabulate sex experiment, chi2

*ideology:
tabulate ideo experiment, chi2

*eduation:
tabulate edu experiment, chi2

*income:
tabulate income experiment, chi2

***summary stats for demographics
tabulate age 
tabulate sex 
tabulate ideo 
tabulate edu 
tabulate income


***summary stats for demographics by treatment group
tabulate age if experiment ==1
tabulate age if experiment ==2
tabulate age if experiment ==3
tabulate age if experiment ==4


tabulate sex if experiment ==1
tabulate sex if experiment ==2
tabulate sex if experiment ==3
tabulate sex if experiment ==4


tabulate ideo if experiment ==1
tabulate ideo if experiment ==2
tabulate ideo if experiment ==3
tabulate ideo if experiment ==4

 
tabulate edu if experiment ==1
tabulate edu if experiment ==2
tabulate edu if experiment ==3
tabulate edu if experiment ==4


tabulate income if experiment ==1
tabulate income if experiment ==2
tabulate income if experiment ==3
tabulate income if experiment ==4


***Ordered Logit Regressions for Additional Attitude DVs 

*Opinion of Country Opinion DV
ologit country_opinion i.experiment 

*Support for Group Elections DV
ologit group_elections i.experiment 

*Invitation to Group Talks DV
ologit peace_talk i.experiment 

*Make UN Appeal DV
ologit un_appeal i.experiment 

*Independent State DV
ologit ind_state i.experiment 
